Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Load and Activate Real Time Commands to SeqN #1543

Merged
merged 7 commits into from
Jan 3, 2025

Conversation

goetzrrGit
Copy link
Contributor

@goetzrrGit goetzrrGit commented Nov 6, 2024

Summary
Added immediate_activate and immediate_load to SeqN.

@IMMEDIATE
ECHO "" 
@LOAD("seqA")

SeqJson

{
  "id": "SeqC",
  "metadata": {},
  "immediate_commands": [
    {
      "args": [
        {
          "type": "string",
          "value": "",
          "name": "echo_string"
        }
      ],
      "stem": "ECHO",
      "type": "command"
    },
    {
      "args": [],
      "sequence": "seqA",
      "type": "load"
    }
  ]
}

@goetzrrGit goetzrrGit requested a review from a team as a code owner November 6, 2024 20:55
@goetzrrGit goetzrrGit requested a review from cohansen November 6, 2024 20:55
@goetzrrGit goetzrrGit self-assigned this Nov 6, 2024
Copy link
Collaborator

@joswig joswig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test cases and functionality are good.

My comment on the seq-json types is because distinct literal values help with control flow analysis. It also feels like we have a lot of type assertions.

src/utilities/sequence-editor/to-seq-json.ts Outdated Show resolved Hide resolved
src/utilities/sequence-editor/from-seq-json.ts Outdated Show resolved Hide resolved
src/utilities/sequence-editor/from-seq-json.ts Outdated Show resolved Hide resolved
src/utilities/sequence-editor/from-seq-json.ts Outdated Show resolved Hide resolved
src/utilities/sequence-editor/to-seq-json.ts Outdated Show resolved Hide resolved
@goetzrrGit goetzrrGit merged commit a2bed7f into develop Jan 3, 2025
5 checks passed
@goetzrrGit goetzrrGit deleted the feature/load_activate_rtc branch January 3, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants